package com.example.terminal.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * @Author bq
 * @Date 02-20-2025 周四 19:24
 * @Description 库房实体
 */
public class StoreroomListBean {

    /**
     * code : 200
     * msg : 查询成功
     * rows : [{"createTime":"2023-02-10 15:07:09","delFlag":"0","deptId":101,"deptName":"北京总部","id":1,"name":"北京库房","updateTime":"2023-02-13 21:39:03","userId":103,"userName":"李然"},{"createTime":"2023-02-10 15:07:21","delFlag":"0","deptId":102,"deptName":"内蒙事业部","id":2,"name":"呼和库房","updateTime":"2023-02-13 21:39:10","userId":130,"userName":"刘晓丹"},{"createTime":"2023-02-10 15:07:21","delFlag":"0","deptId":202,"deptName":"项目二组","id":3,"name":"测试库房","updateTime":"2023-02-22 12:06:35","userId":138,"userName":"吉静"},{"createTime":"2023-02-22 13:47:55","delFlag":"0","deptId":105,"deptName":"软、硬件研发部","id":8,"name":"2023专用库房","remark":"11","updateTime":"2023-02-24 17:30:17","userId":115,"userName":"连梦雨"},{"createTime":"2023-02-24 17:31:13","delFlag":"0","deptId":105,"deptName":"软、硬件研发部","id":9,"name":"2023备用库房","userId":138,"userName":"吉静"},{"createTime":"2023-02-28 17:34:16","delFlag":"0","deptId":105,"deptName":"软、硬件研发部","id":10,"name":"研发部库房","userId":118,"userName":"王宇"}]
     * total : 6
     */

    private int code;
    private String msg;
    private int total;
    private List<RowsBean> rows;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * createTime : 2023-02-10 15:07:09
         * delFlag : 0
         * deptId : 101
         * deptName : 北京总部
         * id : 1
         * name : 北京库房
         * updateTime : 2023-02-13 21:39:03
         * userId : 103
         * userName : 李然
         * remark : 11
         */

        private String createTime;
        private String delFlag;
        private int deptId;
        private String deptName;
        private int id;
        private String name;
        private String updateTime;
        private int userId;
        private String userName;
        private String remark;
        private String nickName;
        private String email;
        private String phonenumber;

        public String getPhonenumber() {
            return phonenumber;
        }

        public void setPhonenumber(String phonenumber) {
            this.phonenumber = phonenumber;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        private List<DeptBean> dept;

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getDelFlag() {
            return delFlag;
        }

        public void setDelFlag(String delFlag) {
            this.delFlag = delFlag;
        }

        public int getDeptId() {
            return deptId;
        }

        public void setDeptId(int deptId) {
            this.deptId = deptId;
        }

        public String getDeptName() {
            return deptName;
        }

        public void setDeptName(String deptName) {
            this.deptName = deptName;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public List<DeptBean> getDept() {
            return dept;
        }

        public void setDept(List<DeptBean> dept) {
            this.dept = dept;
        }

        public static class DeptBean {
            /**
             * createBy : null
             * createName : null
             * createTime : null
             * updateBy : null
             * updateTime : null
             * remark : null
             * deptId : 103
             * parentId : 101
             * ancestors : 0,100,101
             * deptName : 项目管理部
             * orderNum : 1
             * leader : 系统管理员
             * phone : null
             * email : null
             * status : 0
             * delFlag : null
             * parentName : null
             * children : []
             */

            private Object createBy;
            private Object createName;
            private Object createTime;
            private Object updateBy;
            private Object updateTime;
            private Object remark;
            private int deptId;
            private int parentId;
            private String ancestors;
            private String deptName;
            private int orderNum;
            private String leader;
            private Object phone;
            private Object email;
            private String status;
            private Object delFlag;
            private Object parentName;
            private List<?> children;

            public Object getCreateBy() {
                return createBy;
            }

            public void setCreateBy(Object createBy) {
                this.createBy = createBy;
            }

            public Object getCreateName() {
                return createName;
            }

            public void setCreateName(Object createName) {
                this.createName = createName;
            }

            public Object getCreateTime() {
                return createTime;
            }

            public void setCreateTime(Object createTime) {
                this.createTime = createTime;
            }

            public Object getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(Object updateBy) {
                this.updateBy = updateBy;
            }

            public Object getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Object updateTime) {
                this.updateTime = updateTime;
            }

            public Object getRemark() {
                return remark;
            }

            public void setRemark(Object remark) {
                this.remark = remark;
            }

            public int getDeptId() {
                return deptId;
            }

            public void setDeptId(int deptId) {
                this.deptId = deptId;
            }

            public int getParentId() {
                return parentId;
            }

            public void setParentId(int parentId) {
                this.parentId = parentId;
            }

            public String getAncestors() {
                return ancestors;
            }

            public void setAncestors(String ancestors) {
                this.ancestors = ancestors;
            }

            public String getDeptName() {
                return deptName;
            }

            public void setDeptName(String deptName) {
                this.deptName = deptName;
            }

            public int getOrderNum() {
                return orderNum;
            }

            public void setOrderNum(int orderNum) {
                this.orderNum = orderNum;
            }

            public String getLeader() {
                return leader;
            }

            public void setLeader(String leader) {
                this.leader = leader;
            }

            public Object getPhone() {
                return phone;
            }

            public void setPhone(Object phone) {
                this.phone = phone;
            }

            public Object getEmail() {
                return email;
            }

            public void setEmail(Object email) {
                this.email = email;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public Object getDelFlag() {
                return delFlag;
            }

            public void setDelFlag(Object delFlag) {
                this.delFlag = delFlag;
            }

            public Object getParentName() {
                return parentName;
            }

            public void setParentName(Object parentName) {
                this.parentName = parentName;
            }

            public List<?> getChildren() {
                return children;
            }

            public void setChildren(List<?> children) {
                this.children = children;
            }
        }
    }
}
